package com.leesche.zcsp.node.web.service.impl;

import com.leesche.zcsp.node.web.dao.SysMemberDao;
import com.leesche.zcsp.node.web.model.SysMember;
import com.leesche.zcsp.node.web.model.SysMemberCriteria;
import com.leesche.zcsp.node.web.service.SysMemberService;
import com.leesche.zcsp.node.web.service.impl.data.read.SysMemberDto;
import com.leesche.zcsp.node.web.service.impl.data.read.QuerySysMemberCondition;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.Map;

/**
 * Created by Administrator on 2017-02-23.
 */
@Service
@Transactional
public class SysMemberServiceImpl extends BaseServiceImpl<SysMember, SysMemberCriteria,SysMemberDto,QuerySysMemberCondition, Long>
        implements SysMemberService {
    @Autowired
    private com.leesche.zcsp.node.web.dao.SysMemberDao sysMemberDao;

    @Autowired
    public void setBaseDao( com.leesche.zcsp.node.web.dao.SysMemberDao sysMemberDao) {
        super.setBaseDao(sysMemberDao);
    }

    @Override
    public int updateByConditionMap(Map map) {
        return sysMemberDao.updateByConditionMap(map);
    }
}
